import Vue from 'vue'

import Vuex from 'vuex'

import home from './home'
import search from './search'
import detail from './detail'
import user from './user'
import cart from './cart'
import trade from './trade'
import pay from './pay'
Vue.use(Vuex)

const actions = {}
const mutations = {}
const state = {}
const getters = {}

export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
    modules:{home,search,detail,user,cart,trade,pay},
})